__________________________________________________________________________________________________
class Solution:
    def isMajorityElement(self, nums: List[int], target: int) -> bool:
        occur = sum(x == target for x in nums)
        return occur > len(nums) // 2
__________________________________________________________________________________________________

__________________________________________________________________________________________________
